﻿<UserControl x:Class="Abhiruchi_Phase1.UC_ORG_TaskMapping"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignWidth="497" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid Background="#FFF0F3F6"  VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />         
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>

        <Line   HorizontalAlignment="Stretch" Width="Auto"
        Stretch="Uniform" StrokeThickness="5" X1="0" Y1="0" X2="1" Y2="0" VerticalAlignment="Top" Margin="0,59,0,0" Grid.ColumnSpan="4" Height="9" Grid.Row="1">
            <Shape.Stroke>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Color="Transparent" Offset="0" />
                    <GradientStop Color="Silver" Offset="1" />
                    <GradientStop Color="Transparent" Offset="1" />
                </LinearGradientBrush>
            </Shape.Stroke>
        </Line>

        <Image Height="40" HorizontalAlignment="Left" Margin="2,13,0,0" Name="image1" Source="/Abhiruchi_Phase1;component/Images/tskmp.ico" Stretch="Fill" VerticalAlignment="Top" Width="40" Grid.Row="1" />
        <Label Content="" FontFamily="Segoe UI" FontSize="18" FontWeight="Bold" Height="30" HorizontalAlignment="Left" Margin="44,26,0,0" Name="lblMode" VerticalAlignment="Top" Width="73" Grid.Row="1" Grid.ColumnSpan="2" />
        <Label Content="Task Mapping" FontSize="15" FontFamily="Corbel" Foreground="#FF666362"  FontWeight="Normal" Height="30" HorizontalAlignment="Left" Margin="41,5,0,0" Name="lblTMHeading" VerticalAlignment="Top" Width="95" Grid.ColumnSpan="2" Opacity="0.5" Grid.Row="1" />
        <Label Content="Mapping ID " FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="5,90,0,0" Name="lblMid" VerticalAlignment="Top" FontSize="12" Grid.Row="1" Foreground="#FF382D2C" />
        <ComboBox Grid.Column="1" Height="22" ItemsSource="{Binding}" Margin="0,172,0,212" Name="cmbMInputSec" SelectedIndex="-1" FontSize="12" FontWeight="Normal" SelectionChanged="cmbMInputSec_SelectionChanged" Grid.Row="1" Foreground="Black" TabIndex="3" />
        <Label Content="Task Name " FontWeight="Normal" Foreground="#FF382D2C" Height="28" HorizontalAlignment="Left" Margin="9,167,0,0" Name="lblMtskName" VerticalAlignment="Top" FontSize="12" Grid.Column="2" Grid.Row="1" />
        <ComboBox Grid.Column="3" Height="22" HorizontalAlignment="Stretch" ItemsSource="{Binding}" Margin="0,171,0,213" Name="cmbInputMtskName" SelectedIndex="-1" VerticalAlignment="Stretch" FontSize="12" FontWeight="Normal" HorizontalContentAlignment="Left" Grid.Row="1" Foreground="Black" TabIndex="4" />
        <Label Content="Employee Name " FontWeight="Normal" Foreground="#FF382D2C" Height="28" HorizontalAlignment="Left" Margin="8,129,0,0" Name="lblMEmpName" VerticalAlignment="Top" FontSize="12" Grid.Column="2" Grid.Row="1" />
        <ComboBox Grid.Column="3" Height="22" HorizontalAlignment="Stretch" ItemsSource="{Binding}" Margin="0,136,0,248" Name="cmbInputMEmpName" SelectedIndex="-1" VerticalAlignment="Stretch" FontSize="12" FontWeight="Normal" SelectionChanged="cmbInputMEmpName_SelectionChanged" Grid.Row="1" Foreground="Black" TabIndex="2" />
        <DatePicker FontSize="12" FontWeight="Normal" HorizontalAlignment="Stretch" Margin="0,206,0,178" Name="dpInputMStartDate" VerticalAlignment="Stretch" Grid.Column="1" SelectedDateChanged="dpInputMStartDate_SelectedDateChanged" Height="25" Width="Auto" Grid.Row="1" Foreground="Black" TabIndex="5" />
        <Label Content="Start Date " FontWeight="Normal" Foreground="#FF382D2C" Height="28" HorizontalAlignment="Left" Margin="5,201,0,0" Name="lblMStrtDate" VerticalAlignment="Top" FontSize="12" Grid.Row="1" />
        <DatePicker FontSize="12" HorizontalAlignment="Stretch" Margin="0,206,0,178" Name="dpInputMEndDate" VerticalAlignment="Stretch" FontWeight="Normal" Height="25" VerticalContentAlignment="Stretch" Grid.Column="3" Width="Auto" Grid.Row="1" Foreground="Black" TabIndex="6" />
        <Label Content="End Date " FontWeight="Normal" Foreground="#FF382D2C" Height="28" HorizontalAlignment="Left" Margin="9,201,0,0" Name="lblMEndDate" VerticalAlignment="Top" FontSize="12" Grid.Column="2" Grid.Row="1" />
        <CheckBox Content="Auto Renew" FontSize="12" Grid.Column="1" Foreground="#FF382D2C" Height="22" HorizontalAlignment="Stretch" Margin="0,245,0,139" Name="chkInputAutoRenew" VerticalAlignment="Stretch" FontWeight="Normal" HorizontalContentAlignment="Left" Grid.Row="1"  TabIndex="7" />
        <Label Content="Remarks" Foreground="#FF382D2C" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="7,270,0,0" Name="lblMRemarks" VerticalAlignment="Top" FontSize="12" Grid.Row="1" />
        <TextBox AllowDrop="False"  Grid.ColumnSpan="3" Height="44" HorizontalAlignment="Stretch" Margin="0,276,0,86" Name="txtInputMRemarks" VerticalAlignment="Stretch" FontSize="12" FontWeight="Normal" Grid.Column="1" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" Grid.Row="1" Foreground="Black" TabIndex="8" />
        <CheckBox Content="Is Active" Foreground="#FF382D2C" FontSize="12" Height="22" HorizontalAlignment="Left" Margin="3,334,0,50" Name="chkMIsActive" VerticalAlignment="Stretch" Width="Auto" FontWeight="Normal" Grid.Column="1" Grid.Row="1"  TabIndex="9" />
        <Button Content="Save" FontWeight="Normal" Height="22" HorizontalAlignment="Left" Margin="0,376,0,8" Name="btnMSave" VerticalAlignment="Stretch" Width="100" FontSize="12" Grid.Column="1" Click="btnMSave_Click" Grid.Row="1" TabIndex="10" />
        <Label Content="Employee Type" FontWeight="Normal" Foreground="#FF382D2C" Height="28" HorizontalAlignment="Left" Margin="7,129,0,0" Name="lblMEmpType" VerticalAlignment="Top" FontSize="12" Grid.Row="1" />
        <ComboBox HorizontalAlignment="Stretch" ItemsSource="{Binding}" Margin="0,136,0,248" Name="cmbMInputEmpType" SelectedIndex="-1" FontSize="12" FontWeight="Normal" SelectionChanged="cmbMInputEmpType_SelectionChanged" Height="22" Width="Auto" Grid.Column="1" Grid.Row="1" Foreground="Black" TabIndex="1" />
        <Label Content="Section " FontWeight="Normal" Foreground="#FF382D2C" Height="28" HorizontalAlignment="Left" Margin="7,167,0,0" Name="lblMSecName" VerticalAlignment="Top" Grid.Row="1" />
        <telerik:RadGridView AllowDrop="True" CanUserFreezeColumns="True" DataContext="{Binding}" Focusable="False" Grid.ColumnSpan="4" IsReadOnly="True" Margin="12,47,0,102" Name="grdDisp" Height="376" Grid.Row="2" />
        <Label Content="Task Mapping Details" FontFamily="Segoe UI" FontSize="12" FontWeight="Bold" Foreground="#FF2554C7" Grid.ColumnSpan="2" Height="28" HorizontalAlignment="Left" Margin="9,62,0,0" Name="lblFrmHeader" VerticalAlignment="Top" Width="177" Grid.Row="1" />
        <Label Content="Existing Task Mapping Details" FontFamily="Segoe UI" FontSize="12" FontWeight="Bold" Foreground="#FF2554C7" Grid.ColumnSpan="2" Height="28" HorizontalAlignment="Left" Margin="7,5,0,0" Name="lblGrdHeader" VerticalAlignment="Top" Width="189" Grid.Row="2" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Left" Margin="72,88,0,290" Name="lblStar" Width="17" Grid.Row="1" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Left" Margin="97,127,0,251" Name="label1" Width="17" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="1" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Left" Margin="92,128,0,250" Name="label2" Width="17" Grid.Row="1" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Left" Margin="72,167,0,211" Name="label3" Width="17" Grid.Column="2" Grid.Row="1" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Right" Margin="0,167,45,211" Name="label4" Width="17" Grid.Row="1" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Left" Margin="60,199,0,179" Name="label5" Width="17" Grid.Row="1" />
        <Label Content="*" FontFamily="Candara" FontSize="14" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Right" Margin="0,202,32,176" Name="label6" Width="17" Grid.Column="2" Grid.Row="1" />
        <TextBox Height="22" HorizontalAlignment="Stretch" Margin="0,97,0,287" Name="lblInputMid" VerticalAlignment="Stretch" Grid.Column="1" Background="#FFF0F3F6" IsReadOnly="True" Grid.ColumnSpan="3" Grid.Row="1" Foreground="Black" />
        <Button Content="Clear" Grid.Column="1" Grid.ColumnSpan="2" Height="22" HorizontalAlignment="Left" Margin="129,376,0,0" VerticalAlignment="Top" Width="100" Name="btnMClear" Grid.Row="1" TabIndex="11" Click="btnMClear_Click" />
    </Grid>
   
  </UserControl>
